package cn.gson.springboot.model.mapper;

import cn.gson.springboot.model.pojos.Department;
import cn.gson.springboot.model.pojos.FunctionType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Component("departmentMapper")
public interface DepartmentMapper {
    //查找所有部门
    public List<Department> findAllDept();

    public List<Department> findDept(Integer deptId);

    public List<Department> findDepts();

    public List<Department> findDeptEmp();
}
